package com.yl.chainStore.mapper.warehouse;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.yl.chainStore.entity.warehouse.WarehouseGoodSupplier
import com.yl.chainStore.pojo.vo.warehouse.WarehouseGoodSupplierSelectVo
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

/**
 * <p>
 * 供应商 Mapper 接口
 * </p>
 *
 * @author cxw
 * @since 2021-06-08
 */
@Mapper
interface WarehouseGoodSupplierMapper : BaseMapper<WarehouseGoodSupplier> {

	/**
	 * 供应商列表查询
	 */
	fun selectSupplierList(vo: WarehouseGoodSupplierSelectVo): List<WarehouseGoodSupplier>

	/**
	 * 供应商分页查询
	 */
	fun selectSupplierPage(
		@Param("page") page: Page<WarehouseGoodSupplier>,
		@Param("vo")vo: WarehouseGoodSupplierSelectVo
	): Page<WarehouseGoodSupplier>


}
